﻿using FazaDemo.ViewModels;

namespace FazaDemo.PL.Wpf
{
    class PlaceEntityUnloader : IEntityUnloader
    {

        private readonly PlaceViewModel _model;

        public PlaceEntityUnloader(PlaceViewModel model)
        {
            _model = model;
        }

        public string GetValue()
        {
            return _model.Name;
        }
    }
}